package com.jc.order.dto;

import com.jc.order.util.DTOCompareUtil.FieldDesc;
import com.jc.order.util.DTOCompareUtil.IgnoreCompare;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Data
public class EciCustomerQuotaApprovedDTO implements Serializable {


    private static final long serialVersionUID = -1L;


//    @FieldDesc("ID")
    private Long id;

//    @FieldDesc("租户ID")
    private Long tenantId;

    @FieldDesc("限额号")
    private Long noticeSerialNo;

//    @FieldDesc("企业内部限额唯一标识")
    private String corpSerialNo;
    /**
     * 买方名称
     */
    private String riskCompName;

    /**
     * 买方地址
     */
    private String riskCompAddress;





    @FieldDesc("是否LC申请 (1:是, 0:否)")
    private Integer ifLc;

    @FieldDesc("审批标志")
    private Integer approveFlag;

    @FieldDesc("申请退回/不通过原因")
    private String unAcceptReason;

    @FieldDesc("最新通知时间")
    private String notifyTime;

    @FieldDesc("被保险人PICCCODE")
    private String clientNo;

    @FieldDesc("保险单号")
    private String policyNo;

    @FieldDesc("限额编号")
    private String quotaNo;

    @FieldDesc("限额申请编号")
    private String quotaApplyNo;

    @FieldDesc("保买方代码")
    private String buyerNo;

    @FieldDesc("买方PICCCODE")
    private String corpBuyerNo;

    @FieldDesc("支付方式")
    private String payMode;

    @FieldDesc("信用期限 (赊销天数)")
    private Integer payTerm;

    @FieldDesc("信用限额")
    private BigDecimal quotaSum;

    @FieldDesc("信用证号")
    private String lcNo;

    @FieldDesc("银行SWIFT (LC为必填)")
    private String bankSwift;

    @FieldDesc("银行英文名称 (LC为必填)")
    private String bankEngName;

    @FieldDesc("银行PICCCODE (LC为必填)")
    private String corpBankNo;

    @FieldDesc("限额状态")
    private String quotaState;

    @FieldDesc("生效日期")
    private String effectDate;

    @FieldDesc("失效日期")
    private String lapseDate;

    @FieldDesc("批复日期")
    private String auditDate;

    @FieldDesc("特别生效条件")
    private String adCondition;

    @FieldDesc("批复说明")
    private String billNote;

    @FieldDesc("赔付比例")
    private BigDecimal refuseRate;

    @FieldDesc("其它商业风险赔偿比例")
    private BigDecimal otherRate;

    @FieldDesc("信用证下赔付比例")
    private BigDecimal lcRate;

    @FieldDesc("政治风险赔付比例")
    private BigDecimal poliRate;

    @FieldDesc("是否循环使用 (1:是, 0:否)")
    private String ifRepeat;

    @FieldDesc("批复类型代码")
    private String approveType;

    @FieldDesc("闲置期")
    private Integer idLespan;

    @FieldDesc("限额变更原因")
    private String changeReasonCode;

    @IgnoreCompare // 忽略创建时间比较
    private Date createTime;

    @FieldDesc("更新时间")
    private Date updateTime;

    @FieldDesc("创建人")
    private String createUser;

    @FieldDesc("更新人")
    private String updateUser;

    @IgnoreCompare
    private String dataSource;
}
